Analysis of a Global Contiguity Constraint
نویسنده
چکیده
We address a global constraint for enforcing contiguity. Contiguity is the property that all of one kind of object in an array or list are grouped together; it is a one-dimensional discrete form of convexity. We present an implementation of this property in a concurrent constraint programming language. We adapt and apply the constraint propagation framework of [19] to analyse the contiguity property. In particular, the soundness of the implementation is proved and the forms of local consistency that are maintained by the implementation are identified. A complexity analysis shows that the implementation is optimal for achieving arc-consistency. However, an optimal implementation is not given for a stronger consistency condition, and we raise the possibility that an optimal implementation requires meta-level programming.
منابع مشابه
NEGATION for free!
Global constraint design is a key success of CP for solving hard combinatorial problems. Many works suggest that automaton-based definitions and filtering make easier the design of new global constraints. In this paper, from such a design, we present an approach that gives an automaton-based definition of the NEGATION of a global constraint... for free! For a given global constraint C, the idea...
متن کاملGeo-Graphs: An Efficient Model for Enforcing Contiguity and Hole Constraints in Planar Graph Partitioning
Political districting is an intractable problem with significant ramifications for political representation. Districts often are required to satisfy some legal constraints, but these typically are not very restrictive, allowing decision makers to influence the composition of these districts without violating relevant laws. For example, while districts must often comprise a single contiguous are...
متن کاملOn Partitioning Grid-Structured Parallel Computations
This paper studies a special instance of the graph partitioning problem motivated by an application in parallel processing. When a parallel computation is represented by a weighted task graph, we consider the problem of mapping each node in the graph to a processor in a linear array. We focus on a particular type of computation, a grid structured computation (GSC), where the task graph is a gri...
متن کاملMulti-item inventory model with probabilistic demand function under permissible delay in payment and fuzzy-stochastic budget constraint: A signomial geometric programming method
This study proposes a new multi-item inventory model with hybrid cost parameters under a fuzzy-stochastic constraint and permissible delay in payment. The price and marketing expenditure dependent stochastic demand and the demand dependent the unit production cost are considered. Shortages are allowed and partially backordered. The main objective of this paper is to determine selling price, mar...
متن کاملSemi-supervised Bibliographic Element Segmentation with Latent Permutations
This paper proposes a semi-supervised bibliographic element segmentation. Our input data is a large scale set of bibliographic references each given as an unsegmented sequence of word tokens. Our problem is to segment each reference into bibliographic elements, e.g. authors, title, journal, pages, etc. We solve this problem with an LDA-like topic model by assigning each word token to a topic so...
متن کامل